package org.chnxi.study.design.factory.simple;

public class SimpleFactoryTest {

    public static void main(String[] args) {
        ICar wuling = CarFactory.getCar("wuling");
        wuling.name();

        ICar tesla = CarFactory.getCar("tesla");
        tesla.name();
    }

}
